<template>
  <div style="position: fixed; bottom: 0; left: 0; width:100%; height: 1rem; background: #fff; font-size: 0.24rem;" class="flex">

    <router-link to="/index" style="flex: 1;" class="flexcc">
      <div>
        <div class="flexcc">
          <van-icon name="wap-home-o" size="0.4rem" />
        </div>
        <div class="flexcc">首页</div>
      </div>
    </router-link>


    <router-link to="/geren" style="flex: 1;" class="flexcc">
      <div>
        <div class="flexcc">
         <van-icon name="user-o" size="0.4rem"   />
        </div>
        <div class="flexcc">个人</div>
      </div>
    </router-link>

  </div>
</template>

<script>
  export default {
    name: 'footer',
    data() {
      return {

      }
    },
    created() {

    },
    methods: {

    }
  }
</script>

<style scoped lang="less">
  .router-link-active{ color: #f00;}

</style>

